<?php
/**
 * Author: Administrator
 * Date: 2022/7/21 2:08
 */

namespace DesignPatterns\Structural\Decorator;


class WebService implements RendererInterface
{
    protected $data;

    public function __construct($data)
    {
        $this->data = $data;
    }

    public function renderData()
    {
        return $this->data;
    }
}